package com.jyw.system.domain.vo;

import com.jyw.common.core.domain.entity.SysDept;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("科室码打印返回实体")
public class DeptPrintVo {

    @ApiModelProperty("科室id")
    private Long id;

    @ApiModelProperty("科室名称")
    private String deptName;

    @ApiModelProperty("科室码")
    private String code;

    public DeptPrintVo(SysDept data) {
        setId(data.getDeptId());
        setDeptName(data.getDeptName());
    }
}
